package cn.itcast.interfaces;

import cn.itcast.pojo.PageResult;
import cn.itcast.pojo.Setmeal;

import java.util.List;
import java.util.Map;

/**
 * @author: peterChen
 * @date: 2019/8/13 20:29
 * @description: TODO
 * @version: 1.0
 */
public interface SetmealService {
    public void add(Setmeal setmeal, Integer[] checkgroupIds);

    public PageResult pageQuery(Integer currentPage, Integer pageSize, String queryString);

    public Setmeal findSetmealById(Integer id);

    public List<Integer> findCheckgroupIdsBySetmealId(Integer id);

    public void edit(Setmeal setmeal, Integer[] checkgroupIds);

    public void delete(Integer id);

    public List<Setmeal> getSetmeal();

    public Setmeal findById(Integer id);

    public List<Map<String, Object>> findSetmealCount();

    public List<Map<String, Object>> getSexReport();

}
